package com.iee.patterns.link;

/**
 *@ClassName Demo
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2022/5/5 0005 15:40
 */
public class Demo {
    public static void main(String[] args) {
        Processor p1 = new ProcessorImpl1(null);
        Processor p2 = new ProcessorImpl2(p1);
        p2.process("something happened");
    }
}
